package com.tsxy.mall.service;

import com.tsxy.mall.entity.Book;
import com.tsxy.mall.entity.Cart;

import java.util.List;

public interface CartService {
    Integer insert(Cart cart);

    List getAll(Integer id);

    Cart update(Integer id, Integer count);
}
